#include <cstdlib>
#include <iostream>
#include <SDL.h>
#include "PacmanApp.h"

using namespace slak::pacman;

extern "C" 
int main(int argc,char* argv[])
{
	if (SDL_Init(SDL_INIT_VIDEO|
		     SDL_INIT_TIMER) < 0) {
		std::cerr << "SDL initialization error: " 
			<< SDL_GetError() << "\n";
		exit(1);
	}
	atexit(SDL_Quit);

	PacmanApp app(800,600);
	app.run();

	exit(0);
}


